
x = input("请输入一串字符数字用逗号分隔")
x = x.strip('[')
x = x.strip(']')
xlist = x.split(',')
xlist = [int(xlist[i]) for i in range(len(xlist))]
xlist.sort(reverse=True)
print(xlist)